package com.open.capacity.answer.service.impl;

import com.open.capacity.answer.dao.CommentPraiseDao;
import com.open.capacity.answer.service.CommentService;
import com.open.capacity.common.model.Comment;
import com.open.capacity.common.model.CommentPraise;
import com.open.capacity.common.web.PageResult;
import com.open.capacity.common.web.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.Map;

@Service
@Slf4j
public class CommentServiceImpl implements CommentService {

    @Resource
    private CommentPraiseDao commentPraiseDao;

    @Override
    public PageResult findComment(Integer article, Map<String, Object> params) {
        return null;
    }

    @Override
    public Result commentSubmit(Integer article, Comment comment) {
        return null;
    }

    @Override
    public Result commentPraise(CommentPraise commentPraise) {
        return null;
    }
}
